package com.sptpc.demo1.controller.requests;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sptpc.demo1.model.Category;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.joda.money.Money;

import javax.persistence.ManyToOne;

/**
 * 接受用户（ModifyDrink）请求传参
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AddDrinkRequest {
    public String name; // 名称
    public Money price; // 价格
    public Integer categoryId;//分类

}
